package kgc.crm.service.impl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
//如果遇到二开项目的话
@Service("newLeadsServiceImpl")
public class NewLeadsServiceImpl extends LeadsServiceImpl {
    @Override
    public ResponseEntity read(String batchId, String apiToken) {
        JSONObject object = JSON.parseObject(batchId);
        return super.read(object.getString("batchId"), apiToken);
    }
}
